import { SET_REDBAG } from "../constants/redux";

const redbag = (state = {isShow: false, image: ''}, action) => {
    switch(action.type) {
        case SET_REDBAG: 
            return {...state, ...action.redbag}
        default: 
            return state
    }
}

export default redbag